package flux;


public class api {

	public static String GetVersion()
	{
       return "1.45"; 
	}
	
// Below is all calls related to airing.java
	
	
	public static String GetAiringTitle(Object MediaObject)
	{return airing.GetAiringTitle(MediaObject);}
	
	public static long GetOriginalAiringDate(Object MediaObject)
	{return airing.GetOriginalAiringDate(MediaObject);}
	
	public static String GetShowEpisode(Object MediaObject)
	{return airing.GetShowEpisode(MediaObject);}

	public static Object MakePlaylist(Object MediaObjects, String NewPlaylistName)
	{return airing.MakePlaylist(MediaObjects, NewPlaylistName);}
	
	public static boolean IsWatchedPartial(Object MediaObject)
	{return airing.IsWatchedPartial(MediaObject);}
	
	public static Object GetLastWatched(Object MediaObjects)
	{return airing.GetLastWatched(MediaObjects);}
	
	public static Object GetNextShow(Object MediaObjects)
	{return airing.GetNextShow(MediaObjects);}
	
	public static Object[] GetShowsFromLastWatched(Object MediaObjects)
	{return airing.GetShowsFromLastWatched(MediaObjects);}
	
	public static Object[] GetShowsFromShow(Object MediaObjects, Object MediaObject)
	{return airing.GetShowsFromShow(MediaObjects, MediaObject);}
	
//Below is all calls related to mediaTag.java
	
	
	public static String[] GetMediaTags(Object MediaObject)
	{return mediaTag.GetMediaTags(MediaObject);}
	
	public static boolean HasMediaTag(Object MediaObject,String Tag)
	{return mediaTag.HasMediaTag(MediaObject, Tag);}
	
	public static boolean HasMediaTags(Object MediaObject)
	{return mediaTag.HasMediaTags(MediaObject);}
	
	public static String RemoveMediaTag(Object MediaObject,String Tag)
	{return mediaTag.RemoveMediaTag(MediaObject, Tag);}
	
	public static String  SetMediaTag(Object MediaObject,String Tag)
	{return mediaTag.SetMediaTag(MediaObject, Tag);}
	
	public static String ClearMediaTags(Object MediaObject)
	{return mediaTag.ClearMediaTags(MediaObject);}
	
	
//Below is all calls related to metadata.java
	
	
	public static String GetMediaTitle(Object MediaObject)
	{return metadata.GetMediaTitle(MediaObject);}
	
	public static String GetEpisodeTitle(Object MediaObject)
	{return metadata.GetEpisodeTitle(MediaObject);}

	public static int GetSeasonNumber(Object MediaObject)
	{return metadata.GetSeasonNumber(MediaObject);}
	
	public static String GetSeasonNumberStr(Object MediaObject)
	{return metadata.GetSeasonNumberStr(MediaObject);}
	
	public static String GetSeasonNumberPad(Object MediaObject)
	{return metadata.GetSeasonNumberPad(MediaObject);}

	public static int GetEpisodeNumber(Object MediaObject)
	{return metadata.GetEpisodeNumber(MediaObject);}
	
	public static String GetEpisodeNumberStr(Object MediaObject)
	{return metadata.GetEpisodeNumberStr(MediaObject);}
	
	public static String GetEpisodeNumberPad(Object MediaObject)
	{return metadata.GetEpisodeNumberPad(MediaObject);}
	
	public static int GetDiscNumber(Object MediaObject)
	{return metadata.GetDiscNumber(MediaObject);}
	
	public static String GetDiscNumberStr(Object MediaObject)
	{return metadata.GetDiscNumberStr(MediaObject);}
	
	public static String GetDiscNumberPad(Object MediaObject)
	{return metadata.GetDiscNumberPad(MediaObject);}

	public static String GetMediaType(Object MediaObject)
	{return metadata.GetMediaType(MediaObject);}
	
	public static boolean IsMediaTypeTV(Object MediaObject)
	{return metadata.IsMediaTypeTV(MediaObject);}
	
	public static String GetMediaProviderDataID(Object MediaObject)
	{return metadata.GetMediaProviderDataID(MediaObject);}
	
	public static String GetUserRating(Object MediaObject)
	{return metadata.GetUserRating(MediaObject);}
	
	public static boolean IsDVD(Object MediaObject)
	{return metadata.IsDVD(MediaObject);}
	
	
//below is all calls related to scrubString

	
	public static String ScrubStringTitle(String s1)
	{return scrubString.StringTitle(s1);}
		
	public static String ScrubGetAiringTitle(Object MediaObject)
	{return scrubString.GetAiringTitle(MediaObject);}
	
	public static String ScrubGetMediaTitle(Object MediaObject)
	{return scrubString.GetMediaTitle(MediaObject);}
	
	public static String ScrubGetShowTitle(Object MediaObject)
	{return scrubString.GetShowTitle(MediaObject);}
	
	public static String ScrubGetShowEpisode(Object MediaObject)
	{return scrubString.GetShowEpisode(MediaObject);}
	
	public static String ScrubGetAlbumArtist(Object MediaObject)
	{return scrubString.GetAlbumArtist(MediaObject);}

	public static String ScrubGetAlbumName(Object MediaObject)
	{return scrubString.GetAlbumName(MediaObject);}
	
	public static String ScrubGetShowCategory(Object MediaObject)
	{return scrubString.GetShowCategory(MediaObject);}
		
	public static String ScrubGetShowSubCategory(Object MediaObject)
	{return scrubString.GetShowSubCategory(MediaObject);}
	
	public static String ScrubGetShowCombCategories(Object MediaObject)
	{return scrubString.GetShowCombCategories(MediaObject);}
	
	public static String[] GetShowCategories(Object MediaObject)
	{return scrubString.GetShowCategories(MediaObject);}
	
	public static String ScrubGetShowDescription(Object MediaObject)
	{return scrubString.GetShowDescription(MediaObject);}
	
	public static String ScrubGetShowTagLine(Object MediaObject)
	{return scrubString.GetShowTagLine(MediaObject);}
	
	public static String[] ScrubGetPeopleInShowRoleActor(Object MediaObject)
	{return scrubString.GetPeopleInShowRoleActor(MediaObject);}
	
	public static String[] ScrubGetPeopleInShowRoleDirector(Object MediaObject)
	{return scrubString.GetPeopleInShowRoleDirector(MediaObject);}
	
	public static String[] ScrubGetPeopleInShowRoleWriter(Object MediaObject)
	{return scrubString.GetPeopleInShowRoleWriter(MediaObject);}
	
	public static String ScrubGetActorName(String Actor)
	{return scrubString.GetActorName(Actor);}
	
	public static String ScrubGetActorRole(String Actor)
	{return scrubString.GetActorRole(Actor);}
	
	public static String ScrubGetUserRating(Object MediaObject)
	{return scrubString.GetUserRating(MediaObject);}
	
	public static int ScrubGetShowDuration(Object MediaObject)
	{return scrubString.GetShowDuration(MediaObject);}
	
	
// Below section is for calls related to utility class.
	
	public static boolean HasPropertyElement(String PropertyName,String DefaultValue,String Element)
	{return utility.HasPropertyElement(PropertyName, DefaultValue, Element);}
	
	public static String  SetPropertyElement(String PropertyName,String DefaultValue,String Element)
	{return utility.SetPropertyElement(PropertyName, DefaultValue, Element);}
	
	public static String RemovePropertyElement(String PropertyName,String DefaultValue,String Element)
	{return utility.RemovePropertyElement(PropertyName, DefaultValue, Element);}
	
	public static String[] GetPropertyArray(String PropertyName,String DefaultValue)
	{return utility.GetPropertyArray(PropertyName, DefaultValue);}
	
	public static Object[] toArray(Object Array)
	{return utility.toArray(Array);}
	
	public static Object[] AddArrayElements(Object MediaObjects, int i1, int i2)
	{return utility.AddArrayElements(MediaObjects, i1, i2);}
	
	public static double GetVerticalPositionWithOverscan(String UIContextStr, double A, boolean wrt0)
	{return utility.GetVerticalPositionWithOverscan(UIContextStr, A, wrt0);}
	
	public static double GetHorizontalPositionWithOverscan(String UIContextStr, double A, boolean wrt0)
	{return utility.GetHorizontalPositionWithOverscan(UIContextStr, A, wrt0);}
	

	
//Search.java Calls
	
	
//	public Object[] SearchAll(String SearchString)
//	{return Search.search(SearchString, null);}
	
//	public Object[] Search(String SearchString, Object[] SourceList)
//	{return Search.search(SearchString, SourceList);} 
	
}
